The Linear Algebra Mapping Problem. Current State of Linear Algebra Languages and Libraries

نویسندگان

چکیده

We observe a disconnect between the developers and end users of linear algebra libraries. On one hand, numerical high-performance communities invest significant effort in development optimization highly sophisticated kernels libraries, aiming at maximum exploitation both properties input matrices, architectural features target computing platform. other are progressively less likely to go through error-prone time consuming process directly using said libraries by writing their code C or Fortran; instead, languages such as Matlab, Julia, Eigen Armadillo, which offer higher level abstraction, becoming more popular. Users given opportunity matrix computations with syntax that closely resembles mathematical description; it is then compiler an interpreter internally maps program lower kernels, provided BLAS LAPACK. Unfortunately, our experience suggests terms performance, this translation typically vastly suboptimal. In paper, we first introduce Linear Algebra Mapping Problem, investigate how effectively benchmark test problems solved popular high-level programming languages. Specifically, consider Octave, R, Armadillo (C++), NumPy (Python); meant standard optimizations common subexpression elimination loop-invariant motion, well specific optimal parenthesization product kernel selection for matrices properties. The aim study give concrete guidelines support computations.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Deriving Linear Algebra Libraries

Starting in the late 1960s computer scientists including Dijkstra and Hoare advocated goal-oriented programming and formal derivation of algorithms. The problem was that for loop-based programs, a priori determination of loop-invariants, a prerequisite for developing loops, was a task too complex for any but the simplest of operations. We believe that no practical progress was made in the field...

متن کامل

The Algebra of Linear Algebra

3. You are already familiar with the concept of vector spaces in the form of …nite dimensional Euclidean vector spaces, and most of what we do in these lectures will involve these spaces (and, indeed, will also assume that the dot product operation is well-de…ned so that we can de…ne the matrix operations associated with linear transformations). However, it will also be useful to consider some ...

متن کامل

Autotuning dense linear algebra libraries on GPUs

As GPUs are quickly evolving in complexity, tuning numerical libraries for them is becoming more challenging. We present an autotuning approach in the area of dense linear algebra (DLA) libraries for GPUs. The MAGMA library is used to demonstrate the techniques and their effect on performance and portability across hardware systems. We show that, figuratively speaking, our autotuning approach f...

متن کامل

Plapack: Parallel Linear Algebra Libraries Design Overview

Over the last twenty years, dense linear algebra libraries have gone through three generations of public domain general purpose packages. In the seventies, the rst generation of packages were EISPACK and LINPACK, which implemented a broad spectrum of algorithms for solving dense linear eigenproblems and dense linear systems. In the late eighties, the second generation package called LAPACK was ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: ACM Transactions on Mathematical Software

سال: 2022

ISSN: ['0098-3500', '1557-7295']

DOI: https://doi.org/10.1145/3549935